#include <iostream>
#include "CSGUnpack.h"
#include <time.h>

int main(int argc, char *argv[])
{
	if(argc < 3)
		return -1;

	string in_file_name = argv[1];
	string out_file_name = argv[2];

	//in_file_name = "E:\\Projects\\csgpack\\ csgpack --username shougang1987@gmail.com\\CJK_XGZ.rar";
	//out_file_name = "E:\\Projects\\csgpack\\ csgpack --username shougang1987@gmail.com\\CJK_XGZ.avi";

	CSGUnpack *unpack = new CSGUnpack(in_file_name, out_file_name);
	unpack->unpack();
	delete unpack;

	//system("pause");
	return 0;
}
